.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 60px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px 0;
    max-height: 150px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 2px 0;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0 6px 0 0;
    padding: 0;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    white-space: nowrap;
    cursor: pointer;
}

.project-form .checkbox-group {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    background: #f9f9f9;
}

.project-form .checkbox-item {
    padding: 3px 8px;
}

.project-form .checkbox-item:hover {
    background: #f0f0f0;
}

/* 保存按钮样式 */
.save-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.save-button:hover {
    background: #45a049;
}

.save-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* 表单底部按钮组 */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
    height: 40px;
    line-height: 40px;
    margin: 0;
    text-align: center;
}

.form-actions .save-button {
    background: #4CAF50;
    color: white;
}

.form-actions .save-button:hover {
    background: #45a049;
}

.form-actions .save-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.form-actions .cancel-button {
    background: #95a5a6;
    color: white;
}

.form-actions .cancel-button:hover {
    background: #7f8c8d;
} 